package com.example.ucs_alg_node_manager.service;

import com.example.ucs_alg_node_manager.domain.Node;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.ucs_alg_node_manager.dto.NodeDTO;
import com.example.ucs_alg_node_manager.dto.QueryDTO;
import com.example.ucs_alg_node_manager.vo.ReturnVO;

/**
* @author 31586
* @description 针对表【ucs_node】的数据库操作Service
* @createDate 2024-08-29 16:05:15
*/
public interface NodeService extends IService<Node> {

    ReturnVO getNodes(QueryDTO dto);

    ReturnVO getNodeByName(String name);

    ReturnVO addNode(NodeDTO dto);

    ReturnVO delNode(Integer id);

    ReturnVO update(Node node);

    ReturnVO setNode(Integer nodeId, String status);


}
